package com.example.good.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

import java.util.Date;

/**
 * @program: good
 * @description: 导入学生数错误信息记录实体类
 * @author: Peng houfu
 * @create: 2021-08-24 17:08
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("excel_stu_error")
public class ExcelStuErrorDO {


    @TableId(value = "id", type = IdType.AUTO)
    /**
     * @desc 主键
     */
    private Long id;
    /**
     * @desc 学号
     */
    private String studentId;
    /**
     * @desc 姓名
     */
    private String studentName;
    /**
     * @desc 错误原因
     */
    private String errorDesc;
    /**
     * @desc 次数
     */
    private Long times;

    /**
     * @desc 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date gmtCreated;

    /**
     * @desc 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date gmtModified;

    /**
     * @desc 是否删除1删除0未删除
     */
    @TableLogic
    @TableField("is_deleted")
    private Boolean deleted;
    
    
}
